package hust.music.util;

import java.io.Serializable;

/**
 * DynamicInfo
 * 
 * @author Txazo
 * @since 1.0
 */
public class DynamicInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 源对象Id */
	private Integer sourceId;
	/** 源对象名称 */
	private String sourceName;
	/** 源对象图片 */
	private String sourceImage;
	/** 目标对象Id */
	private Integer targetId;
	/** 目标对象名称 */
	private String targetName;
	/** 目标对象图片 */
	private String targetImage;
	/** 用户Id */
	private Integer userId;
	/** 用户名 */
	private String username;
	/** 内容 */
	private String content;
	/** 时间 */
	private String time;
	/** 类型 */
	private String type;
	/** 数字 */
	private String number;

	/**
	 * DynamicInfo
	 * 
	 * @param sourceId 源对象Id
	 * @param sourceName 源对象名称
	 * @param sourceImage 源对象图片
	 * @param targetId 目标对象Id
	 * @param targetName 目标对象名称
	 * @param targetImage 目标对象图片
	 * @param userId 用户Id
	 * @param username 用户名
	 * @param content 内容
	 * @param time 时间
	 * @param type 类型
	 * @param number 数字
	 */
	public DynamicInfo(Integer sourceId, String sourceName, String sourceImage,
			Integer targetId, String targetName, String targetImage,
			Integer userId, String username, String content, String time,
			String type, String number) {
		this.sourceId = sourceId;
		this.sourceName = sourceName;
		this.sourceImage = sourceImage;
		this.targetId = targetId;
		this.targetName = targetName;
		this.targetImage = targetImage;
		this.userId = userId;
		this.username = username;
		this.content = content;
		this.time = time;
		this.type = type;
		this.number = number;
	}

	public Integer getSourceId() {
		return sourceId;
	}

	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getSourceImage() {
		return sourceImage;
	}

	public void setSourceImage(String sourceImage) {
		this.sourceImage = sourceImage;
	}

	public Integer getTargetId() {
		return targetId;
	}

	public void setTargetId(Integer targetId) {
		this.targetId = targetId;
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}

	public String getTargetImage() {
		return targetImage;
	}

	public void setTargetImage(String targetImage) {
		this.targetImage = targetImage;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

}